package org.example.springioc.tradition;

public class start {
    public static void main(String[] args) {
        Car car = new Car(20);
        car.run();
    }
}

//在这种情况下如果要在某个地方增加一个零件,就需要对每个类进行修改
